package com.example.LinuxSpringBoot.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 1.实体类
 */
//加注lombok注释开发——免去set和get，tostring，equals等
@Data
//满参构造
@AllArgsConstructor
//无参构造
@NoArgsConstructor
//Serializable——继承mybatis的序列化接口：使该实体类成为持久化
public class GoodsInfoBean implements Serializable {
    private int goods_id;
    private String goods_name;
    private String goods_intro;
    private int goods_category_id;
    private String goods_cover_img;
    private String goods_carousel;
    private String goods_detail_content;
    private int original_price;
    private int selling_price;
    private int stock_num;
    private String tag;
    private int goods_sell_status;
    private int create_user;
    private Date create_time;
    private int update_user;
    private Date update_time;
}
